﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace GestionePolveriLib.BL
{
    public enum PrenotazioneStatus
    {
        NonAnnullate = 0,
        Annullate,
        Tutte
    }

    [Serializable]
    public class Prenotazione
    {
        public long ID { get; set; }
        public DateTime Data { get; set; }
        public OperationTypes Tipo { get; set; }
        public Guid IDOperatore { get; set; }
        public int IDPolvere { get; set; }
        public string Note { get; set; }
        public double Quantita { get; set; }
        public bool IsAnnullata { get; set; }

        public DateTime? DataAnnullo { get; set; }
        public string NoteAnnullo { get; set; }
        public Guid? IDOperatoreAnnullo { get; set; }

        [Browsable(false)]
        public string OperatoreName { get; set; }
        [Browsable(false)]
        public string OperatoreNameAnnullo { get; set; }
        [Browsable(false)]
        public string CodicePolvere { get; set; }
        [Browsable(false)]
        public string ColoriAbbinati { get; set; }

        public Prenotazione()
        {

        }
    }
}
